export default defineAppConfig({
  pages: [
    'pages/index/index',
    'pages/list/list',
    'pages/detail/detail'
  ],
  permission: {
    "scope.userLocation": {
      desc: '用于位置信息展示'
    }
  },
  requiredPrivateInfos: [
    "getLocation",
    "onLocationChange",
    "startLocationUpdateBackground"
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black'
  },
  tabBar: {
    list: [
      {
        pagePath: 'pages/index/index',
        text: '首页'
      }, {
        pagePath: 'pages/list/list',
        text: '列表'
      }
    ]
  }
})
